<template>
	<view class="success-page">
		<view class="content">
			<image class="image" src="@/static/reservation/success.png" mode="widthFix"></image>
			<view class="name">领取成功</view>
			<view class="hite">可在我的优惠券中进行查看</view>
			<view class="back" @click="handleBack">返回</view>
		</view>
	</view>
</template>

<script>
	import {
		mapGetters
	} from "vuex";
	export default {
		data() {
			return {};
		},
		computed: mapGetters(["isLogin", "uid", "userInfo"]),
		onLoad() {

		},
		methods: {
			handleBack() {
				uni.switchTab({
					url:'/pages/index/index'
				})
			},
		},
	};
</script>

<style lang="scss">
	.success-page {
		height: 100vh;
		background: #fff;
		.content {
			text-align: center;
			.image {
				width: 264rpx;
				height: 254rpx;
				margin: 282rpx auto 10rpx;
			}

			.name {
				margin-top: 20rpx;
				font-weight: 500;
				font-size: 36rpx;
				color: #a3c616;
				text-align: center;
			}

			.hite {
				text-align: center;
				font-size: 26rpx;
				color: #999999;
				margin-top: 18rpx;
			}

			.back {
				width: 272rpx;
				height: 72rpx;
				border-radius: 36rpx;
				border: 2rpx solid #a3c616;
				font-weight: 400;
				font-size: 28rpx;
				color: #a3c616;
				display: flex;
				align-items: center;
				text-align: center;
				justify-content: center;
				margin: 56rpx auto 0;
			}
		}
	}
</style>